\hypertarget{structsc2_1_1_spatial_unit_command}{}\section{sc2\+:\+:Spatial\+Unit\+Command Struct Reference}
\label{structsc2_1_1_spatial_unit_command}\index{sc2\+::\+Spatial\+Unit\+Command@{sc2\+::\+Spatial\+Unit\+Command}}


An action (command or ability) applied to selected units when using feature layers or the rendered interface.  




{\ttfamily \#include $<$sc2\+\_\+action.\+h$>$}

\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
enum \hyperlink{structsc2_1_1_spatial_unit_command_ad50a0bbdbaff9ef68fbda3d817d3a32e}{Target\+Type} \{ \hyperlink{structsc2_1_1_spatial_unit_command_ad50a0bbdbaff9ef68fbda3d817d3a32ea7f95fd3b8b1bbeb6221f223074dbbf9a}{Target\+Screen}, 
\hyperlink{structsc2_1_1_spatial_unit_command_ad50a0bbdbaff9ef68fbda3d817d3a32ea5c3cb6c9cf1642ef2579036167621b36}{Target\+Minimap}
 \}\begin{DoxyCompactList}\small\item\em If this action should apply to the screen or minimap. \end{DoxyCompactList}
\end{DoxyCompactItemize}
\subsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{structsc2_1_1_spatial_unit_command_a305cc8a0fe2a1364ddb853c8b9a5583c}\label{structsc2_1_1_spatial_unit_command_a305cc8a0fe2a1364ddb853c8b9a5583c}} 
\hyperlink{classsc2_1_1_s_c2_type}{Ability\+ID} \hyperlink{structsc2_1_1_spatial_unit_command_a305cc8a0fe2a1364ddb853c8b9a5583c}{ability\+\_\+id}
\begin{DoxyCompactList}\small\item\em The ID of the ability to invoke. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structsc2_1_1_spatial_unit_command_a48ea9dd08e0f49f2899ed2c69f9ade16}\label{structsc2_1_1_spatial_unit_command_a48ea9dd08e0f49f2899ed2c69f9ade16}} 
\hyperlink{structsc2_1_1_spatial_unit_command_ad50a0bbdbaff9ef68fbda3d817d3a32e}{Target\+Type} \hyperlink{structsc2_1_1_spatial_unit_command_a48ea9dd08e0f49f2899ed2c69f9ade16}{target\+\_\+type}
\begin{DoxyCompactList}\small\item\em If this action should be applied to the main game screen or the minimap. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structsc2_1_1_spatial_unit_command_aaf33b1b6790e5f5af4509a5c28ef1a9c}\label{structsc2_1_1_spatial_unit_command_aaf33b1b6790e5f5af4509a5c28ef1a9c}} 
\hyperlink{structsc2_1_1_point2_d_i}{Point2\+DI} \hyperlink{structsc2_1_1_spatial_unit_command_aaf33b1b6790e5f5af4509a5c28ef1a9c}{target}
\begin{DoxyCompactList}\small\item\em Target point on the screen or minimap, if required. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structsc2_1_1_spatial_unit_command_ae5cb8efec67b158fb1aaafd2491f38ea}\label{structsc2_1_1_spatial_unit_command_ae5cb8efec67b158fb1aaafd2491f38ea}} 
bool \hyperlink{structsc2_1_1_spatial_unit_command_ae5cb8efec67b158fb1aaafd2491f38ea}{queued}
\begin{DoxyCompactList}\small\item\em Indicates if this action should replace or queue behind other actions. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
An action (command or ability) applied to selected units when using feature layers or the rendered interface. 

\subsection{Member Enumeration Documentation}
\mbox{\Hypertarget{structsc2_1_1_spatial_unit_command_ad50a0bbdbaff9ef68fbda3d817d3a32e}\label{structsc2_1_1_spatial_unit_command_ad50a0bbdbaff9ef68fbda3d817d3a32e}} 
\index{sc2\+::\+Spatial\+Unit\+Command@{sc2\+::\+Spatial\+Unit\+Command}!Target\+Type@{Target\+Type}}
\index{Target\+Type@{Target\+Type}!sc2\+::\+Spatial\+Unit\+Command@{sc2\+::\+Spatial\+Unit\+Command}}
\subsubsection{\texorpdfstring{Target\+Type}{TargetType}}
{\footnotesize\ttfamily enum \hyperlink{structsc2_1_1_spatial_unit_command_ad50a0bbdbaff9ef68fbda3d817d3a32e}{sc2\+::\+Spatial\+Unit\+Command\+::\+Target\+Type}}



If this action should apply to the screen or minimap. 

\begin{DoxyEnumFields}{Enumerator}
\raisebox{\heightof{T}}[0pt][0pt]{\index{Target\+Screen@{Target\+Screen}!sc2\+::\+Spatial\+Unit\+Command@{sc2\+::\+Spatial\+Unit\+Command}}\index{sc2\+::\+Spatial\+Unit\+Command@{sc2\+::\+Spatial\+Unit\+Command}!Target\+Screen@{Target\+Screen}}}\mbox{\Hypertarget{structsc2_1_1_spatial_unit_command_ad50a0bbdbaff9ef68fbda3d817d3a32ea7f95fd3b8b1bbeb6221f223074dbbf9a}\label{structsc2_1_1_spatial_unit_command_ad50a0bbdbaff9ef68fbda3d817d3a32ea7f95fd3b8b1bbeb6221f223074dbbf9a}} 
Target\+Screen&Apply this action to the main game screen. \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{Target\+Minimap@{Target\+Minimap}!sc2\+::\+Spatial\+Unit\+Command@{sc2\+::\+Spatial\+Unit\+Command}}\index{sc2\+::\+Spatial\+Unit\+Command@{sc2\+::\+Spatial\+Unit\+Command}!Target\+Minimap@{Target\+Minimap}}}\mbox{\Hypertarget{structsc2_1_1_spatial_unit_command_ad50a0bbdbaff9ef68fbda3d817d3a32ea5c3cb6c9cf1642ef2579036167621b36}\label{structsc2_1_1_spatial_unit_command_ad50a0bbdbaff9ef68fbda3d817d3a32ea5c3cb6c9cf1642ef2579036167621b36}} 
Target\+Minimap&Apply this action to the minimap. \\
\hline

\end{DoxyEnumFields}


The documentation for this struct was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
include/sc2api/sc2\+\_\+action.\+h\end{DoxyCompactItemize}
